/*
 * 铁路道岔故障检测信息管理系统
 * Design by 魏梓晟
 * Version :1.0
 */
package com.railway.switchs.dao.business;
import com.railway.switchs.base.BaseDao;
import com.railway.switchs.domain.dto.business.DeviceInfo;
import com.railway.switchs.domain.query.business.DeviceInfoQuery;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * device_info - 设备信息表 Dao接口类
 * @author 魏梓晟
 */
@ResponseBody
public interface DeviceInfoDao extends BaseDao<DeviceInfo, DeviceInfoQuery> {

    int updateRunType(DeviceInfo deviceInfo);

    int deleteByCode(DeviceInfo deviceInfo);

}
